package com.ithiema.edu.info.manager.controller;

import com.ithiema.edu.info.manager.domain.Teacher;

public class TeacherController extends BaseTeacherController{

    //录入信息，封装到教师类
    public Teacher input_teacher(String id) {
        System.out.println("请输入教师姓名");
        String name = sc.next();
        System.out.println("请输入教师性别");
        String sex = sc.next();
        System.out.println("请输入教师生日(格式：xx-xx-xx)");
        String birthday = sc.next();
        return new Teacher(id, name, sex, birthday);
    }
}
